package com.sitechasia.webx.components.xtable.toolbar;

import org.extremecomponents.table.core.TableModel;
import org.extremecomponents.table.view.html.TwoColumnRowLayout;
import org.extremecomponents.util.HtmlBuilder;

import com.sitechasia.webx.components.xtable.view.pms.CeToolbarBuilder;

public class CeToolBar {
	CeToolbarBuilder toolBar = null;
	public CeToolBar(HtmlBuilder builder, TableModel model) {
		toolBar = new CeToolbarBuilder(builder,model);
	}

	/**
     * Function:创建最后一行的分页相关信息
     * Create author:yixianjian
     * Create on:2008-4-16
	 */
	public void layout() {
		toolBar.toolbarTableStart().buildTotalCountMessage().buildPagination().toolbarTableEnd();
	}

}
